import {slowJs, execLongTime, getCallStack} from "../../utils/utils"
Page({
    onLoad() {
        console.log(new Error().stack.split('\n'))
        console.log("-------")
        console.log(getCallStack())
    },

    onTap() {
        let i = 0
        console.log(setInterval.toString())
        const timer = setInterval(() => {
            console.log("@setInterval", i)
            i++
            if (i > 10) clearInterval(timer)
        }, 1000)
    }
})